package com.project.bean;

import java.util.List;

public class RoomBean {
    /**房间编号*/
    private  int id;
    /**房间地址*/
    private String address;
    /**可容纳人数*/
    private int accPeople;
    /**已住人数*/
    private int alreadyPeople;
    /**房间状态*/
    private String statues="正常";
    /**房间类型*/
    private String type;
    /**入住学生集合*/
    private List<Student> stuList;

    public RoomBean() {
    }

    public RoomBean(String address, int accPeople, String type) {
        this.address = address;
        this.accPeople = accPeople;
        this.type = type;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public int getAccPeople() {
        return accPeople;
    }

    public void setAccPeople(int accPeople) {
        this.accPeople = accPeople;
    }

    public int getAlreadyPeople() {
        return alreadyPeople;
    }

    public void setAlreadyPeople(int alreadyPeople) {
        this.alreadyPeople = alreadyPeople;
    }

    public String getStatues() {
        return statues;
    }

    public void setStatues(String statues) {
        this.statues = statues;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public List<Student> getStuList() {
        return stuList;
    }

    public void setStuList(List<Student> stuList) {
        this.stuList = stuList;
    }

    @Override
    public String toString() {
        return "RoomBean{" +
                "id=" + id +
                ", address='" + address + '\'' +
                ", accPeople=" + accPeople +
                ", alreadyPeople=" + alreadyPeople +
                ", statues='" + statues + '\'' +
                ", type='" + type + '\'' +
                ", stuList=" + stuList +
                "}\n";
    }
}
